<?php
class Admin_Form_CreateCategory extends Zend_Form{
	public function init()
	{
		$name = new Zend_Form_Element_Text('categoryname');
		$name->setLabel('Category Name: ')
			->setRequired(true);
		
		$description = new Zend_Form_Element_Textarea('description');
		$description->setLabel('Description: ')
					->setRequired('true');
					
		$displayorder = new Zend_Form_Element_Text('order');
		$displayorder->setLabel('Display order: ');
		
		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setLabel('Add Category');
		
		$this->addElements(array($name,$displayorder,$description,$submit));
	}
	
}